package main

import (
	"context"
	"giikin.oder/handler"
	order "giikin.oder/kitex_gen/com/giikin/order"
)

// OrderServiceImpl implements the last service interface defined in the IDL.
type OrderServiceImpl struct{}

// SaveOrderEtc implements the OrderServiceImpl interface.
func (s *OrderServiceImpl) SaveOrderEtc(ctx context.Context, request *order.SaveOrderEtcRequest) (resp *order.SaveOrderEtcResponse, err error) {
	return handler.SaveOrderEtc(ctx, request), nil
}

// GetOrderEtcInfo implements the OrderServiceImpl interface.
func (s *OrderServiceImpl) GetOrderEtcInfo(ctx context.Context, request *order.GetOrderEtcInfoRequest) (resp *order.GetOrderEtcInfoResponse, err error) {
	return handler.GetOrderEtcInfo(ctx, request), nil
}
